// a simple map generator to create a default fixed map.

package com.fduss.mazegame.core.maze.generator;

import com.fduss.mazegame.core.unit.Place;
import com.fduss.mazegame.core.unit.Space;
import com.fduss.mazegame.core.unit.Wall;
import com.fduss.mazegame.core.maze.Map;

public class TestMap implements MapGenerator {

    public Map generateMap() {
        Place[][] places = {
            {new Space(), new Wall(), new Space(), new Wall(), new Space(), new Space(), new Space(), new Wall()},
            {new Space(), new Wall(), new Space(), new Space(), new Space(), new Wall(), new Space(), new Space()},
            {new Space(), new Wall(), new Space(), new Wall(), new Wall(), new Wall(), new Space(), new Wall()},
            {new Space(), new Space(), new Space(), new Wall(), new Space(), new Space(), new Space(), new Space()},
        };
        return new Map(places);
    }
}
